package com.zrrd.Firstpackage;

import java.util.Calendar;

public class Date {
    private int year, month, day;

    public Date() {
    }

    public Date(int year, int month, int day) {
        this.year = year;
        this.month = month;
        this.day = day;
    }

    public int thisyear() {
        return Calendar.getInstance().get(Calendar.YEAR);
    }
}
